package com.boang.entity;

/*
  @author: 13813
  @date: 2024/11/20 9:26
*/
public class SavingAccount extends Account {
    public SavingAccount(String cardNo, String passwd, int balance) {
        super(cardNo, passwd, balance);
    }

    @Override
    public void deposit(int money) {
        this.balance -= money;
    }
}
